package com.bootdo.hotel.dao;

import com.bootdo.hotel.domain.HotelMember;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 酒店会员
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-22 08:58:25
 */
@Mapper
public interface HotelMemberDao {

	HotelMember get(Long id);


	HotelMember getMemberByMobile(@Param("mobile") String mobile);
	
	List<HotelMember> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(HotelMember hotelMember);
	
	int update(HotelMember hotelMember);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
